package com.occludens.data.admin.util;

import com.googlecode.objectify.ObjectifyService;
import com.occludens.admin.AdminObject;
import com.occludens.admin.datamodel.AdminObjectDataModel;
import com.occludens.admin.datamodel.Attribute;
import com.occludens.admin.datamodel.Format;
import com.occludens.admin.datamodel.Interface;
import com.occludens.admin.datamodel.Page;
import com.occludens.admin.datamodel.Policy;
import com.occludens.admin.datamodel.Range;
import com.occludens.admin.datamodel.Relationship;
import com.occludens.admin.datamodel.Role;
import com.occludens.admin.datamodel.State;
import com.occludens.admin.datamodel.Trigger;
import com.occludens.admin.datamodel.Type;
import com.occludens.admin.datamodel.User;
import com.occludens.admin.ui.AdminObjectUI;
import com.occludens.admin.ui.Channel;
import com.occludens.admin.ui.Column;
import com.occludens.admin.ui.Command;
import com.occludens.admin.ui.Field;
import com.occludens.admin.ui.Form;
import com.occludens.admin.ui.Menu;
import com.occludens.admin.ui.Portal;
import com.occludens.admin.ui.Table;

public class AdminUtil {

	public static void register() {
		ObjectifyService.register(AdminObject.class);
		
		ObjectifyService.register(AdminObjectDataModel.class);
		ObjectifyService.register(Attribute.class);
		ObjectifyService.register(Format.class);
		ObjectifyService.register(Interface.class);
		ObjectifyService.register(Page.class);
		ObjectifyService.register(Policy.class);
		ObjectifyService.register(Range.class);
		ObjectifyService.register(Relationship.class);
		ObjectifyService.register(Role.class);
		ObjectifyService.register(State.class);
		ObjectifyService.register(Trigger.class);
		ObjectifyService.register(Type.class);
		ObjectifyService.register(User.class);
		
		ObjectifyService.register(AdminObjectUI.class);
		ObjectifyService.register(Channel.class);
		ObjectifyService.register(Column.class);
		ObjectifyService.register(Command.class);
		ObjectifyService.register(Field.class);
		ObjectifyService.register(Form.class);
		ObjectifyService.register(Menu.class);
		ObjectifyService.register(Portal.class);
		ObjectifyService.register(Table.class);
	}

}
